﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: OrderFeedbackEntity.cs
// 修改时间：2020-9-8 10:40:07
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：OrderFeedback 的实体类.
	/// </summary>
	[Table("OrderFeedback")]
	public partial class OrderFeedbackEntity
	{
		#region Properties
		private int? _id = 0;
		/// <summary>
		/// ID(主键)(自增长)
		/// </summary>
		[Column("ID",TypeName="int")]
		[Key]
		[MyFlag("Identity")]
		public int? ID
		{
			get {return _id;}
			set {_id = value;}
		}
		
		private int? _orderID = 0;
		/// <summary>
		/// 订单ID
		/// </summary>
		[Column("OrderID",TypeName="int")]
		public int? OrderID
		{
			get {return _orderID;}
			set {_orderID = value;}
		}
		
		private System.String _userName = string.Empty;
		/// <summary>
		/// 用户名
		/// </summary>
		[Column("UserName",TypeName="nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String UserName
		{
			get {return _userName;}
			set {_userName = value;}
		}
		
		private System.String _content = string.Empty;
		/// <summary>
		/// 内容
		/// </summary>
		[Column("Content",TypeName="nvarchar(MAX)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Content
		{
			get {return _content;}
			set {_content = value;}
		}
		
		private DateTime? _writeTime = null;
		/// <summary>
		/// 添加反馈时间
		/// </summary>
		[Column("WriteTime",TypeName="datetime")]
		public DateTime? WriteTime
		{
			get {return _writeTime;}
			set {_writeTime = value;}
		}
		
		private System.String _replyName = string.Empty;
		/// <summary>
		/// 回复管理员
		/// </summary>
		[Column("ReplyName",TypeName="nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String ReplyName
		{
			get {return _replyName;}
			set {_replyName = value;}
		}
		
		private System.String _replyContent = string.Empty;
		/// <summary>
		/// 回复内容
		/// </summary>
		[Column("ReplyContent",TypeName="nvarchar(MAX)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String ReplyContent
		{
			get {return _replyContent;}
			set {_replyContent = value;}
		}
		
		private DateTime? _replyTime = null;
		/// <summary>
		/// 回复时间
		/// </summary>
		[Column("ReplyTime",TypeName="datetime")]
		public DateTime? ReplyTime
		{
			get {return _replyTime;}
			set {_replyTime = value;}
		}
		
		#endregion
	}
}
